package DuoTai3;

public class Mouse implements IUSB {
    public void openDevice() {//子类这边重写接口那边的方法
        System.out.println("打开鼠标");
    }
    public void closeDevice() {//子类这边对应接口那边的重写方法
        System.out.println("关闭鼠标");
    }
    public void click() {
        System.out.println("鼠标点击");
    }
}
